s = "Hello, World!"
substring = s[7:12]
print(substring)  # 输出: World


substring_02 = s[-6:-1]
print(substring_02)  # 输出: World

substring_03 = s[7:]
print(substring_03)  # 输出: World!